package com.client.bean;

public class BaseResponseBean<T> {
	/**
	 * 接口返回码
	 */
	private int code = 1;
	/**
	 * 接口返回结果
	 */
	private T result = null;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public T getResult() {
		return result;
	}
	public void setResult(T result) {
		this.result = result;
	}
	/**
	 * 接口正常返回码
	 */
	public static final int SUCCESS = 0;
	/**
	 * http请求正常返回码
	 */
	public static final int HTTP_SUCCESS = 200;
}
